package com.ruipengkj.dao;

import java.util.List;

import com.ruipengkj.bean.TWorkShift;
import com.ruipengkj.commons.dao.IGenericDao;

/**
 * 交班接口
 * @author 孙航
 * 
 */
public interface TWorkShiftDao extends IGenericDao<TWorkShift,String>{

	public TWorkShift findLastOne(final String hql);
	
	public TWorkShift findSingleEntity(final String hql,final String whereHQL,final List<Object> param) throws RuntimeException;
	
	public TWorkShift findLastOneByEmployee(final String hql,List<Object> param);
	
	
}
